package cn.iocoder.yudao.module.crm.controller.admin.billaccount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 收款账号管理新增/修改 Request VO")
@Data
public class BillAccountSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18048")
    private Long id;

    @Schema(description = "开户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "开户名不能为空")
    private String accountName;

    @Schema(description = "开户银行", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "开户银行不能为空")
    private String bankName;

    @Schema(description = "银行账号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "银行账号不能为空")
    private String accountNo;

    @Schema(description = "开户支行")
    private String bankBranch;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "是否默认账号 1-是，2-否")
    private Integer defaultFlag;

}